<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>my page</title>
<link href="css/计算器.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="js/计算器.js"></script>
</head>
<body>
	<div class="content">
		<header>
			<div ><span class="com" id = "comp"></span></div>
			<div ><span class="result" id = "ans"></span></div>
			<span class = "one"></span>
		</header>
		<section>
			<ul  >
				<li><button type="button" value="AC" onClick="com(this)">AC</button></li>
				<li><button type="button" value="A" onClick="com(this)">+/-</button></li>
				<li><button type="button" value="%" onClick="com(this)">%</button></li>
				<li><button type="button" value="divi" onClick="com(this)">&divide;</button></li>
				<li><button type="button" value="7" onClick="com(this)">7</button></li>
				<li><button type="button" value="8" onClick="com(this)">8</button></li>
				<li><button type="button" value="9" onClick="com(this)">9</button></li>
				<li><button type="button" value="time" onClick="com(this)">&times;</button></li>
				<li><button type="button" value="4" onClick="com(this)">4</button></li>
				<li><button type="button" value="5" onClick="com(this)">5</button></li>
				<li><button type="button" value="6" onClick="com(this)">6</button></li>
				<li><button type="button" value="sub" onClick="com(this)">-</button></li>
				<li><button type="button" value="1" onClick="com(this)">1</button></li>
				<li><button type="button" value="2" onClick="com(this)">2</button></li>
				<li><button type="button" value="3" onClick="com(this)">3</button></li>
				<li><button type="button" value="and" onClick="com(this)">+</button></li>
				<li><button type="button" value="0" onClick="com(this)">0</button></li>
				<li><button type="button" value="." onClick="com(this)">.</button></li>
				<li><button type="button" value="=" class="ans" onClick="com(this)">=</button></li>
				
			
			
			
			
			</ul>
		
		
		
		
		</section>
		
		
		
		
	
	
	</div>
	
	
	
	
	
	

</body>
</html>
